package com.neiquan.weiguan.fragment;

import android.view.LayoutInflater;
import android.view.View;

import com.neiquan.weiguan.R;
import com.neiquan.weiguan.colorful.Colorful;
import com.neiquan.weiguan.fragment.base.AppBaseFragment;

import butterknife.ButterKnife;

/**
 * 游戏
 */
public class GameFragment extends AppBaseFragment {

    @Override
    public View initRootView() {
        rootView = LayoutInflater.from(getContext()).inflate(R.layout.fragment_game, null);
        ButterKnife.inject(this, rootView);
        return rootView;
    }

    @Override
    public void setViews() {
        setTitleTv("游戏");
        setBackGone();
        setupColorful();
    }

    @Override
    protected void setupColorful() {
        colorful = new Colorful.Builder(this)
                .backgroundColor(R.id.lin_game_fragment_title, R.attr.title_bottom_view_bg)
                .create();
    }

    @Override
    public void initData() {

    }
}
